import React from 'react';
import { createFromIconfontCN } from '@ant-design/icons';
import { Space } from 'antd';
import styles from './icon.less';

const IconFont = createFromIconfontCN({
  scriptUrl: '//at.alicdn.com/t/c/font_3850226_fqs2u93jcs.js',
});

export const IconSousuo: React.FC = () => (
  <Space>
    <IconFont type="icon-sousuo" className={styles.icon} />
  </Space>
);

export const IconDingdan: React.FC = () => (
  <Space>
    <IconFont type="icon-dingdanguanli" className={styles.icon} />
  </Space>
);

export const IconBingtu: React.FC = () => (
  <Space>
    <IconFont type="icon-tubiao-bingtu" className={styles.icon} />
  </Space>
);

export const IconShouye: React.FC = () => (
  <Space>
    <IconFont type="icon-xitong-shouyepeizhi" className={styles.icon} />
  </Space>
);

export const IconShanchu: React.FC = () => (
  <Space>
    <IconFont type="icon-shanchu" className={styles.icon} />
  </Space>
);
